package com.xdb.sqlparser.dialect.oracle.ast.statement;

import java.util.ArrayList;
import java.util.List;

import com.xdb.sqlparser.ast.SQLStatement;
import com.xdb.sqlparser.dialect.oracle.visitor.OracleASTVisitor;

public class OracleLoopStatement extends OracleStatementImpl {

	private List<SQLStatement> statements = new ArrayList<SQLStatement>();

	@Override
	public void accept0(OracleASTVisitor visitor) {
		if (visitor.visit(this)) {
			acceptChild(visitor, statements);
		}
		visitor.endVisit(this);
	}

	public List<SQLStatement> getStatements() {
		return statements;
	}

	public void setStatements(List<SQLStatement> statements) {
		this.statements = statements;
	}

}
